package car.aistar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Userlogin)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:58:06
 */
public class Userlogin implements Serializable {
    private static final long serialVersionUID = 371144050228038350L;

    private Long lid;
    /**
     * 用户id
     */
    private Long uId;
    /**
     * 用户名
     */
    private String uname;
    /**
     * 用户电话
     */
    private String uphone;
    /**
     * 最近一次登录时间
     */
    private Date loginDate;
    /**
     * 用户登录ip
     */
    private String lip;
    /**
     * 用户类型 0-登录中  1-未登录
     */
    private Integer lStatus;


    public Long getLid() {
        return lid;
    }

    public void setLid(Long lid) {
        this.lid = lid;
    }

    public Long getUId() {
        return uId;
    }

    public void setUId(Long uId) {
        this.uId = uId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public String getLip() {
        return lip;
    }

    public void setLip(String lip) {
        this.lip = lip;
    }

    public Integer getLStatus() {
        return lStatus;
    }

    public void setLStatus(Integer lStatus) {
        this.lStatus = lStatus;
    }

    @Override
    public String toString (){
        final StringBuilder sb = new StringBuilder("Userlogin{");
        sb.append("lid=").append(lid);
        sb.append(", uId=").append(uId);
        sb.append(", uname='").append(uname).append('\'');
        sb.append(", uphone='").append(uphone).append('\'');
        sb.append(", loginDate=").append(loginDate);
        sb.append(", lip='").append(lip).append('\'');
        sb.append(", lStatus=").append(lStatus);
        sb.append('}');
        return sb.toString();
    }
}